const useSafeAreaInsets = () => {
  const { safeArea, screenHeight } = wx.getWindowInfo()
  return { ...safeArea, safeAreaBottom: screenHeight - safeArea.height - safeArea.top }
}

export default useSafeAreaInsets
